package com.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import oracle.security.crypto.core.math.BigInt;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Employee {
    private Integer empno;
    private String ename;
    private char sex;
    private String idcard;
    private String phone;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date hiredate;
    private int mgr;
    private BigDecimal sal;
    private BigDecimal comm;
    private Department deptnos;
    private C_role roles;
}
